package com.ylink.sendmsg.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ylink.sendmsg.mapper.ProcessDao;
import com.ylink.sendmsg.pojo.ProcessPojo;

/**
 * TODO添加类描述
 * @author     Kangx.li 1703054
 * @version    V1 2018年10月12日
 * @since      Java
 */
@Service
public class ProcessService {

    @Autowired
    private ProcessDao processDao;
    
    public List<ProcessPojo> getAllProcess(){
	return processDao.getAllProcess();
    }
    
    public int insertProcess(ProcessPojo process) {
	return this.processDao.insertProcess(process);
    }
    
    public int sys(){
	return 0;
    }
}

